package com.mz.entity;

import java.util.Date;

public class SysUsers {

	private Long userId;			//账号ID
	private String userName;		//账号
	private String password;		//密码
	private String realName;		//真实姓名
	private Integer status;			//状态	-1|删除, 0|禁用, 1|正常
	private String email;			//邮箱
	private String mobile;			//手机号码
	private Long roleId;			//角色ID
	private Date createTime;		//创建时间
	private Long createUser;		//创建用户
	private Date updateTime;		//最后一次更新时间
	private Long updateUser;		//最后更新用户
	
	public SysUsers(){}
	
	public SysUsers(Long userId, String userName, String password, String realName, Integer status, String email,
			String mobile, Long roleId, Date createTime, Long createUser, Date updateTime, Long updateUser) {
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.realName = realName;
		this.status = status;
		this.email = email;
		this.mobile = mobile;
		this.roleId = roleId;
		this.createTime = createTime;
		this.createUser = createUser;
		this.updateTime = updateTime;
		this.updateUser = updateUser;
	}

	public SysUsers(String userName, String password, String realName){
		this.userName = userName;
		this.password = password;
		this.realName = realName;
	}

	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public Long getRoleId() {
		return roleId;
	}
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Long getCreateUser() {
		return createUser;
	}
	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Long getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(Long updateUser) {
		this.updateUser = updateUser;
	}
}